package com.cy.pj.sys.service;

import com.cy.pj.common.vo.PageObject;
import com.cy.pj.common.vo.SysUserDeptVo;
import com.cy.pj.sys.pojo.SysUser;

import java.util.Map;

/**
 * @Author YuBaoFu
 * @create 2025/06/04
 * @description
 */
public interface SysUserService {

    int updateObject(SysUser entity,Integer[] roleIds);

    PageObject<SysUserDeptVo> findPageObjects(String username, Integer pageCurrent);

    int validById(Integer id,Integer valid);

    int saveObject(SysUser sysUser,Integer[] roleIds);

    Map<String,Object> findObjectById(Integer userId) ;

}
